With this function you can remove a point from the specified path. Path points are numbered from 0 so the first point is always the 0th point and the last path point will be path_get_number() - 1.
path_delete_point(ind, n);
| Argument | Description |
|---|---|
| index | The index of the path to delete a point from. |
| n | The defining point to delete. |
N/A
path_delete_point(mypath, path_get_number(mypath) -
1);
This would delete the last point on the path indexed in the variable "mypath".